Optimal. Leaf size=72 \[ -\frac{2 b n \text{PolyLog}\left (k+2,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )}{q^2}+\frac{\text{PolyLog}\left (k+1,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )^2}{q}+\frac{2 b^2 n^2 \text{PolyLog}\left (k+3,e x^q\right )}{q^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0693812, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2383, 6589} \[ -\frac{2 b n \text{PolyLog}\left (k+2,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )}{q^2}+\frac{\text{PolyLog}\left (k+1,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )^2}{q}+\frac{2 b^2 n^2 \text{PolyLog}\left (k+3,e x^q\right )}{q^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2383
Rule 6589
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_k\left (e x^q\right )}{x} \, dx &=\frac{\left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_{1+k}\left (e x^q\right )}{q}-\frac{(2 b n) \int \frac{\left (a+b \log \left (c x^n\right )\right ) \text{Li}_{1+k}\left (e x^q\right )}{x} \, dx}{q}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_{1+k}\left (e x^q\right )}{q}-\frac{2 b n \left (a+b \log \left (c x^n\right )\right ) \text{Li}_{2+k}\left (e x^q\right )}{q^2}+\frac{\left (2 b^2 n^2\right ) \int \frac{\text{Li}_{2+k}\left (e x^q\right )}{x} \, dx}{q^2}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_{1+k}\left (e x^q\right )}{q}-\frac{2 b n \left (a+b \log \left (c x^n\right )\right ) \text{Li}_{2+k}\left (e x^q\right )}{q^2}+\frac{2 b^2 n^2 \text{Li}_{3+k}\left (e x^q\right )}{q^3}\\ \end{align*}
Mathematica [A] time = 0.0173412, size = 69, normalized size = 0.96 \[ \frac{q^2 \text{PolyLog}\left (k+1,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )^2+2 b n \left (b n \text{PolyLog}\left (k+3,e x^q\right )-q \text{PolyLog}\left (k+2,e x^q\right ) \left (a+b \log \left (c x^n\right )\right )\right )}{q^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.027, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) ^{2}{\it polylog} \left ( k,e{x}^{q} \right ) }{x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )}^{2}{\rm Li}_{k}(e x^{q})}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b^{2} \log \left (c x^{n}\right )^{2} + 2 \, a b \log \left (c x^{n}\right ) + a^{2}\right )}{\rm polylog}\left (k, e x^{q}\right )}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c x^{n} \right )}\right )^{2} \operatorname{Li}_{k}\left (e x^{q}\right )}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )}^{2}{\rm Li}_{k}(e x^{q})}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]